package com.carkepper.appraisal.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 服务与配件评价表的实体类
 */
@Table(name = "tb_order_appraisal")
public class Appraisal implements Serializable {
    @Id
    private int id; //主键
    private String orderId; //订单id
    private String storeId; //门店id
    private char storeType; //类别【1汽修厂，2配件商】
    private String storeSimpleName; //门店名称
    private int serviceClassId; //服务分类id
    private String serviceClassName; //服务分类名称
    private String orderCreateTime; //订单时间
    private String customorId; //客户id
    private String customorName; //客户名称
    private String scoreQulity; //质量评分
    private String scoreTransform; //物流评分
    private String scoreStore; //商家态度评价
    private String serviceItems; //服务项目
    private int serviceCost; //服务费用
    private String createTime; //创建时间
    private int delete; //是否删除，0为否，1为是

    @Override
    public String toString() {
        return "Appraisal{" +
                "id=" + id +
                ", orderId='" + orderId + '\'' +
                ", storeId='" + storeId + '\'' +
                ", storeType=" + storeType +
                ", storeSimpleName='" + storeSimpleName + '\'' +
                ", serviceClassId=" + serviceClassId +
                ", serviceClassName='" + serviceClassName + '\'' +
                ", orderCreateTime='" + orderCreateTime + '\'' +
                ", customorId='" + customorId + '\'' +
                ", customorName='" + customorName + '\'' +
                ", scoreQulity='" + scoreQulity + '\'' +
                ", scoreTransform='" + scoreTransform + '\'' +
                ", scoreStore='" + scoreStore + '\'' +
                ", serviceItems='" + serviceItems + '\'' +
                ", serviceCost=" + serviceCost +
                ", createTime='" + createTime + '\'' +
                ", delete=" + delete +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public char getStoreType() {
        return storeType;
    }

    public void setStoreType(char storeType) {
        this.storeType = storeType;
    }

    public String getStoreSimpleName() {
        return storeSimpleName;
    }

    public void setStoreSimpleName(String storeSimpleName) {
        this.storeSimpleName = storeSimpleName;
    }

    public int getServiceClassId() {
        return serviceClassId;
    }

    public void setServiceClassId(int serviceClassId) {
        this.serviceClassId = serviceClassId;
    }

    public String getServiceClassName() {
        return serviceClassName;
    }

    public void setServiceClassName(String serviceClassName) {
        this.serviceClassName = serviceClassName;
    }

    public String getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(String orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getCustomorId() {
        return customorId;
    }

    public void setCustomorId(String customorId) {
        this.customorId = customorId;
    }

    public String getCustomorName() {
        return customorName;
    }

    public void setCustomorName(String customorName) {
        this.customorName = customorName;
    }

    public String getScoreQulity() {
        return scoreQulity;
    }

    public void setScoreQulity(String scoreQulity) {
        this.scoreQulity = scoreQulity;
    }

    public String getScoreTransform() {
        return scoreTransform;
    }

    public void setScoreTransform(String scoreTransform) {
        this.scoreTransform = scoreTransform;
    }

    public String getScoreStore() {
        return scoreStore;
    }

    public void setScoreStore(String scoreStore) {
        this.scoreStore = scoreStore;
    }

    public String getServiceItems() {
        return serviceItems;
    }

    public void setServiceItems(String serviceItems) {
        this.serviceItems = serviceItems;
    }

    public int getServiceCost() {
        return serviceCost;
    }

    public void setServiceCost(int serviceCost) {
        this.serviceCost = serviceCost;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getDelete() {
        return delete;
    }

    public void setDelete(int delete) {
        this.delete = delete;
    }
}
